package Back_end;

public class Book {
    private String LoginID;
    private String Name;
    private String Author;
    private String ClassCode;
    private String PublicationUnit;
    private String PublicationTime;
    private int Price;

    public Book() {
    }

    public Book(String LoginID, String Name, String Author, String ClassCode, String PublicationUnit, String PublicationTime, int  Price) {
        this.LoginID = LoginID;
        this.Name = Name;
        this.Author = Author;
        this.ClassCode = ClassCode;
        this.PublicationUnit = PublicationUnit;
        this.PublicationTime = PublicationTime;
        this.Price = Price;
    }

    /**
     * 获取
     * @return LoginID
     */
    public String getLoginID() {
        return LoginID;
    }

    /**
     * 设置
     * @param LoginID
     */
    public void setLoginID(String LoginID) {
        this.LoginID = LoginID;
    }

    /**
     * 获取
     * @return Name
     */
    public String getName() {
        return Name;
    }

    /**
     * 设置
     * @param Name
     */
    public void setName(String Name) {
        this.Name = Name;
    }

    /**
     * 获取
     * @return Author
     */
    public String getAuthor() {
        return Author;
    }

    /**
     * 设置
     * @param Author
     */
    public void setAuthor(String Author) {
        this.Author = Author;
    }

    /**
     * 获取
     * @return ClassCode
     */
    public String getClassCode() {
        return ClassCode;
    }

    /**
     * 设置
     * @param ClassCode
     */
    public void setClassCode(String ClassCode) {
        this.ClassCode = ClassCode;
    }

    /**
     * 获取
     * @return PublicationUnit
     */
    public String getPublicationUnit() {
        return PublicationUnit;
    }

    /**
     * 设置
     * @param PublicationUnit
     */
    public void setPublicationUnit(String PublicationUnit) {
        this.PublicationUnit = PublicationUnit;
    }

    /**
     * 获取
     * @return PublicationTime
     */
    public String getPublicationTime() {
        return PublicationTime;
    }

    /**
     * 设置
     * @param PublicationTime
     */
    public void setPublicationTime(String PublicationTime) {
        this.PublicationTime = PublicationTime;
    }

    /**
     * 获取
     * @return Price
     */
    public int getPrice() {
        return Price;
    }

    /**
     * 设置
     * @param Price
     */
    public void setPrice(int Price) {
        this.Price = Price;
    }

    public String toString() {
        return "LoginID : " + LoginID + "\t Name : " + Name + " Author : \t" + Author + " ClassCode : \t" + ClassCode + " PublicationUnit : \t" + PublicationUnit + " PublicationTime : \t" + PublicationTime + " Price : \t" + Price ;
    }
}
